//
//  WEXUserAccount.h
//  microBlog_oc
//
//  Created by apple on 16/4/21.
//  Copyright © 2016年 Hill. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WEXUserAccount : NSObject<NSCoding>
/**
 *
 */
@property (nonatomic, copy) NSString *uid;
/**
 *  生命周期
 */
@property (nonatomic, copy) NSNumber *expires_in;
/**
 *  过期时间
 */
@property (nonatomic, copy) NSDate *expiresDate;
/**
 *  授权令牌
 */
@property (nonatomic, copy) NSString *access_token;
/**
 *
 */
@property (nonatomic, copy) NSString *remind_in;
/**
 *  用户姓名
 */
@property (nonatomic, copy) NSString *name;
/**
 *  用户头像
 */
@property (nonatomic, copy) NSString *avatar_large;

- (instancetype)initWithDict:(NSDictionary *)dict;
+ (instancetype)userAccountWithDict:(NSDictionary *)dict;

@end
